package com.adk.backend.mapper;

import com.adk.backend.entity.LxBookingList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订舱列表Mapper接口
 */
@Mapper
public interface BookingListMapper extends BaseMapper<LxBookingList> {
    
    /**
     * 根据订单ID查询最早的订舱记录
     */
    LxBookingList selectFirstByOrderId(@Param("orderId") Long orderId);
}

